﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using TCEasyPrintRev.Controllers;

namespace TCEasyPrintRev.WCF_File
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "FileServis" in code, svc and config file together.
    public class FileServis : IFileServis
    {
        public String addFiles(FileS file)
        {
            return FileController.insert(file);
        }

        public String addCetak(CetakS file , string id ,string id2)
        {
            return CetakController.insert(file , id ,id2);
        }

        public void addPaket(PaketS file)
        {
            PaketController.insert(file);
        }
    }
}
